package com.device.service;

import com.device.domain.CabinetSlot;
import com.device.domain.vo.ScanChargeVo;
import com.device.domain.vo.StationVo;

import java.util.List;

public interface DeviceService {
    List<StationVo> nearbyStationList(String longitude, String latitude);

    StationVo getStation(Long id, String latitude, String longitude);

    /**
     * 扫码充电
     */
    ScanChargeVo scanCharge(String cabinetNo);

    /**
     * 解锁卡槽
     */
    void unlockSlot(CabinetSlot cabinetSlot);
}
